using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NCT.Framework;

namespace VISS.API.Users {
    
    /// <summary>
    /// Values of user avatar status
    /// </summary>
    public enum EUserAvatarStatus : byte {
        /// <summary>
        /// 
        /// </summary>
        Available = 1,
        /// <summary>
        /// 
        /// </summary>
        Deleted = 0,
    }

    /// <summary>
    /// Contains info about user avatar
    /// </summary>
    [Serializable]
	public class UserAvatarEnt {

		#region Properties

        /// <summary>
        /// Gets or sets the user key.
        /// </summary>
        /// <value>The user key.</value>
		public string UserKey { get; set; }
        /// <summary>
        /// Gets or sets the name of the file.
        /// </summary>
        /// <value>The name of the file.</value>
		public string FileName { get; set; }
        /// <summary>
        /// Gets or sets the image store ID.
        /// </summary>
        /// <value>The image store ID.</value>
		public int ImageStoreID { get; set; }
        /// <summary>
        /// Gets or sets the status.
        /// </summary>
        /// <value>The status.</value>
        public EUserAvatarStatus Status { get; set; }
        /// <summary>
        /// Gets or sets the date created.
        /// </summary>
        /// <value>The date created.</value>
		public DateTime DateCreated { get; set; }
        /// <summary>
        /// Gets or sets the date modified.
        /// </summary>
        /// <value>The date modified.</value>
		public DateTime DateModified { get; set; }

		#endregion

		#region Constructors

        /// <summary>
        /// Initializes a new instance of the <see cref="UserAvatarEnt"/> class.
        /// </summary>
		public UserAvatarEnt() {
			UserKey = string.Empty;
			FileName = string.Empty;
			ImageStoreID = 0;
			DateCreated = DateTimeUtils.MinValue;
			DateModified = DateTimeUtils.MinValue;
		}

		#endregion
	}
}